generated from br3ndonland/template-python
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add documentation #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://squidfunk.github.io/mkdocs-material/creating-your-site/ ```text ❯ mkdocs new . INFO - Writing config file: ./mkdocs.yml INFO - Writing initial docs: ./docs/index.md ```
https://squidfunk.github.io/mkdocs-material/creating-your-site/#configuration `edit_uri` - `edit_uri: ""` disables the "Edit on GitHub" button https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/ `markdown_extensions` - `pymdownx.inlinehilite`: code block highlighting https://squidfunk.github.io/mkdocs-material/reference/code-blocks/ `theme` - colors: `primary` is header bar, `accent` is within page text, media queries allow for light/dark theme based on browser preference https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/ - `font: false`: don't load Google fonts https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/ - `icon`: refers to icons bundled with mkdocs-material https://squidfunk.github.io/mkdocs-material/setup/changing-the-logo-and-icons/ Add Vercel config: https://vercel.com/docs/configuration Add Prettier config: It appears that MkDocs requires four-space tabs in order to properly render Markdown lists. An additional Prettier config will be added to specify the `tabWidth`.
- Align info in README and docs/index.md - Use gear instead of wrench for settings icon
Codecov Report
@@ Coverage Diff @@
## develop #1 +/- ##
========================================
Coverage 100.0% 100.0%
========================================
Files 1 1
Lines 1 1
========================================
Hits 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
br3ndonland
added a commit
that referenced
this pull request
Jul 7, 2021
#1 br3ndonland/inboard#34 br3ndonland/inboard@9943112 https://www.mkdocs.org/user-guide/configuration/#site_url https://www.mkdocs.org/user-guide/configuration/#use_directory_urls mkdocs/mkdocs#2189 mkdocs/mkdocs#2360 https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/ squidfunk/mkdocs-material#2520 MkDocs recently made the `site_url` setting required. A warning is now seen when `site_url` is not included in mkdocs.yml: ```text WARNING - Config value: 'site_url'. Warning: This option is now required. Set to a valid URL or an empty string to avoid an error in a future release. ``` The docs describe the `site_url` setting as follows: > Set the canonical URL of the site. This is a required setting. If the > 'root' of the MkDocs site will be within a subdirectory of a domain, > be sure to include that subdirectory in the setting > (https://example.com/foo/). If the domain is yet to be determined, you > may use a placeholder domain, which will need to be updated prior to > deployment. > > If the built site will not be behind a server, then you may set the > value to an empty string (''). When set to an empty string, some > features of MkDocs may act differently. For example, the > `use_directory_urls` setting must be set to false. If the docs are "behind a server," they often have more than one URL. Which should be set as the `site_url`? Furthermore, if the related `use_directory_urls` is set to `true`, it appends a trailing slash to the URLs generated for the ToC (Table of Contents). This commit will set `site_url: ""` and `use_directory_urls: false`. In combination with the `{"cleanUrls": true, "trailingSlash": false}` settings in vercel.json, the previous behavior of URLs and navigation will be restored.
br3ndonland
added a commit
that referenced
this pull request
Jul 8, 2021
br3ndonland
added a commit
that referenced
this pull request
Jul 8, 2021
br3ndonland
added a commit
that referenced
this pull request
Jul 8, 2021
#1 - Add link to type stubs for `os.environ` - Add `.venv` before REPL examples when other packages are needed - Make some minor edits throughout
br3ndonland
added a commit
that referenced
this pull request
Jul 9, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR will add a documentation site for fastenv. The site is built with Material for MkDocs.
Changes
Related
br3ndonland/inboard#34